Symptoms : a program that performs a recursive descent over a data structure throws a class - cast exception 症状:在数据结构上执行递归下行时抛出类强制转换异常。
Since member items need to be valid objects prior to their inclusion in larger structures , the simplest recursive descent approach would not work 由于在成员项所包含的内容出现在较大型的结构之前,成员项必须是有效对象,所以最简单的递归继承方法不起作用。
A class - cast exception often occurs in a program that is performing a recursive descent over a data structure , usually when some part of the code is descending two levels per method call and is not dispatching appropriately on the second descent 类强制转换经常发生在递归下行数据结构的程序中,通常是当代码的某些部分在每次方法调用中下行了两级且在第二次下行时调度不当时发生的。
As there are various types and formats of traffic telegrams , our method shows how to define the formats of telegrams , the grammar rule and the recursive descent - parsing algorithm to analyze the telegrams . the results shows it has high accuracy and adaptation for many types of telegrams , each of which has several formats 该算法基于自上而下的语法分析,实现了包括不规范电报在内的航管电报的自动识别及自动处理,实际应用表明该算法有很好的适应性和准确性,大大提高了识别率和正确率。
recursive descent meaning:[Computer] < grammar > A "top-down" parser built from a set of mutually-recursive procedures or a non-recursive equivalent where each such procedure usually implements one of the producti...